PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Fractal / Nested Spiral / xtramartin (135).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=3 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.002 |
| 26 | fWaveScale=0.092 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.200 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=0.99817 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.02000 |
| 37 | cx=0.650 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.740 |
| 51 | ob_g=0.400 |
| 52 | ob_b=0.140 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=32.000 |
| 60 | nMotionVectorsY=24.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=0.300 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.400 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=132 |
| 77 | wavecode_0_sep=49 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.06708 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=0.200 |
| 86 | wavecode_0_b=0.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_init1=t1 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 89 | wave_0_init2=t2 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 90 | wave_0_init3=t3 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 91 | wave_0_init4=t4 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 92 | wave_0_init5=t5 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 93 | wave_0_init6=t6 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 94 | wave_0_init7=t7 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 95 | wave_0_init8=t8 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 96 | wave_0_init9= |
| 97 | wave_0_per_frame1=t2 = t2 + bass_att; |
| 98 | wave_0_per_point1=k1 = (100*sample+time*2)%2; |
| 99 | wave_0_per_point2=k2 = (100*sample+time*5)%2; |
| 100 | wave_0_per_point3= |
| 101 | wave_0_per_point4=x = .5 + .5*sin(sample*76+time/337); |
| 102 | wave_0_per_point5=y = .5 + .5*sin(sample*126); |
| 103 | wave_0_per_point6= |
| 104 | wave_0_per_point7= |
| 105 | wave_0_per_point8=r = .4; |
| 106 | wave_0_per_point9=g = .8; |
| 107 | wave_0_per_point10=b = 1*k2; |
| 108 | wave_0_per_point11= |
| 109 | wave_0_per_point12=a = .3*k1; |
| 110 | wavecode_1_enabled=0 |
| 111 | wavecode_1_samples=512 |
| 112 | wavecode_1_sep=0 |
| 113 | wavecode_1_bSpectrum=0 |
| 114 | wavecode_1_bUseDots=0 |
| 115 | wavecode_1_bDrawThick=1 |
| 116 | wavecode_1_bAdditive=0 |
| 117 | wavecode_1_scaling=0.89152 |
| 118 | wavecode_1_smoothing=0.82000 |
| 119 | wavecode_1_r=1.000 |
| 120 | wavecode_1_g=1.000 |
| 121 | wavecode_1_b=1.000 |
| 122 | wavecode_1_a=0.100 |
| 123 | wave_1_init1=t1 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 124 | wave_1_init2=t2 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 125 | wave_1_init3=t3 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 126 | wave_1_init4=t4 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 127 | wave_1_init5=t5 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 128 | wave_1_init6=t6 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 129 | wave_1_init7=t7 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 130 | wave_1_init8=t8 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 131 | wave_1_init9= |
| 132 | wavecode_2_enabled=0 |
| 133 | wavecode_2_samples=512 |
| 134 | wavecode_2_sep=0 |
| 135 | wavecode_2_bSpectrum=0 |
| 136 | wavecode_2_bUseDots=0 |
| 137 | wavecode_2_bDrawThick=1 |
| 138 | wavecode_2_bAdditive=0 |
| 139 | wavecode_2_scaling=0.89152 |
| 140 | wavecode_2_smoothing=0.82000 |
| 141 | wavecode_2_r=1.000 |
| 142 | wavecode_2_g=1.000 |
| 143 | wavecode_2_b=1.000 |
| 144 | wavecode_2_a=0.100 |
| 145 | wave_2_init1=t1 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 146 | wave_2_init2=t2 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 147 | wave_2_init3=t3 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 148 | wave_2_init4=t4 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 149 | wave_2_init5=t5 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 150 | wave_2_init6=t6 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 151 | wave_2_init7=t7 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 152 | wave_2_init8=t8 = 1 + (int(rand(101))*.01 - int(rand(101))*.01)*.3; |
| 153 | wave_2_init9= |
| 154 | wave_2_per_frame1=tm = time*.1; |
| 155 | wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 156 | wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 157 | wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 158 | wave_2_per_frame5= |
| 159 | wave_2_per_frame6=tic = min(time - tin,1); |
| 160 | wave_2_per_frame7=tin = time; |
| 161 | wave_2_per_frame8= |
| 162 | wave_2_per_frame9=tva = (tic*q1*.5); |
| 163 | wave_2_per_frame10=tvb = (tic*q2*.5); |
| 164 | wave_2_per_frame11=tvc = (tic*q3*.5); |
| 165 | wave_2_per_frame12= |
| 166 | wave_2_per_frame13=q1 = tva; |
| 167 | wave_2_per_frame14=q2 = tvb; |
| 168 | wave_2_per_frame15=q3 = tvc; |
| 169 | wave_2_per_frame16= |
| 170 | wave_2_per_frame17=sz = .5; |
| 171 | wave_2_per_frame18=len = 1; |
| 172 | wave_2_per_frame19=t4 = len; |
| 173 | wavecode_3_enabled=0 |
| 174 | wavecode_3_samples=512 |
| 175 | wavecode_3_sep=0 |
| 176 | wavecode_3_bSpectrum=1 |
| 177 | wavecode_3_bUseDots=1 |
| 178 | wavecode_3_bDrawThick=0 |
| 179 | wavecode_3_bAdditive=0 |
| 180 | wavecode_3_scaling=1.00000 |
| 181 | wavecode_3_smoothing=0.50000 |
| 182 | wavecode_3_r=1.000 |
| 183 | wavecode_3_g=1.000 |
| 184 | wavecode_3_b=1.000 |
| 185 | wavecode_3_a=1.000 |
| 186 | shapecode_0_enabled=1 |
| 187 | shapecode_0_sides=15 |
| 188 | shapecode_0_additive=0 |
| 189 | shapecode_0_thickOutline=0 |
| 190 | shapecode_0_textured=0 |
| 191 | shapecode_0_num_inst=1 |
| 192 | shapecode_0_x=0.500 |
| 193 | shapecode_0_y=0.500 |
| 194 | shapecode_0_rad=0.08401 |
| 195 | shapecode_0_ang=0.00000 |
| 196 | shapecode_0_tex_ang=0.50260 |
| 197 | shapecode_0_tex_zoom=1.12519 |
| 198 | shapecode_0_r=0.800 |
| 199 | shapecode_0_g=0.000 |
| 200 | shapecode_0_b=0.800 |
| 201 | shapecode_0_a=0.200 |
| 202 | shapecode_0_r2=0.000 |
| 203 | shapecode_0_g2=0.000 |
| 204 | shapecode_0_b2=0.000 |
| 205 | shapecode_0_a2=1.000 |
| 206 | shapecode_0_border_r=0.700 |
| 207 | shapecode_0_border_g=0.000 |
| 208 | shapecode_0_border_b=0.000 |
| 209 | shapecode_0_border_a=0.000 |
| 210 | shape_0_per_frame1=x = .5 + .2*sin(time/12); |
| 211 | shape_0_per_frame2=y = .5 + .2*cos(time/17); |
| 212 | shape_0_per_frame3= |
| 213 | shape_0_per_frame4=r = .5 + .2*sin(time/31); |
| 214 | shape_0_per_frame5=g = .5 + .2*sin(time/41); |
| 215 | shape_0_per_frame6=b = .5 + .2*sin(time/17); |
| 216 | shape_0_per_frame7=x =.5; y = .5; |
| 217 | shape_0_per_frame8=rad = .05; |
| 218 | shape_0_per_frame9=a = .2; a2 = 0; |
| 219 | shapecode_1_enabled=0 |
| 220 | shapecode_1_sides=63 |
| 221 | shapecode_1_additive=0 |
| 222 | shapecode_1_thickOutline=0 |
| 223 | shapecode_1_textured=0 |
| 224 | shapecode_1_num_inst=1 |
| 225 | shapecode_1_x=0.500 |
| 226 | shapecode_1_y=0.500 |
| 227 | shapecode_1_rad=0.02217 |
| 228 | shapecode_1_ang=0.00000 |
| 229 | shapecode_1_tex_ang=0.00000 |
| 230 | shapecode_1_tex_zoom=0.49981 |
| 231 | shapecode_1_r=1.000 |
| 232 | shapecode_1_g=1.000 |
| 233 | shapecode_1_b=1.000 |
| 234 | shapecode_1_a=0.100 |
| 235 | shapecode_1_r2=1.000 |
| 236 | shapecode_1_g2=1.000 |
| 237 | shapecode_1_b2=1.000 |
| 238 | shapecode_1_a2=0.070 |
| 239 | shapecode_1_border_r=0.500 |
| 240 | shapecode_1_border_g=0.500 |
| 241 | shapecode_1_border_b=0.500 |
| 242 | shapecode_1_border_a=0.000 |
| 243 | shape_1_per_frame1=x = 0.5; |
| 244 | shape_1_per_frame2=y = 0.5; |
| 245 | shape_1_per_frame3=a = 0.03; |
| 246 | shape_1_per_frame4=a2 = 0.0; |
| 247 | shape_1_per_frame5=rad = bass_att/20; |
| 248 | shapecode_2_enabled=1 |
| 249 | shapecode_2_sides=14 |
| 250 | shapecode_2_additive=1 |
| 251 | shapecode_2_thickOutline=0 |
| 252 | shapecode_2_textured=1 |
| 253 | shapecode_2_num_inst=1 |
| 254 | shapecode_2_x=0.590 |
| 255 | shapecode_2_y=0.000 |
| 256 | shapecode_2_rad=1.21524 |
| 257 | shapecode_2_ang=0.06283 |
| 258 | shapecode_2_tex_ang=0.87965 |
| 259 | shapecode_2_tex_zoom=0.51494 |
| 260 | shapecode_2_r=0.600 |
| 261 | shapecode_2_g=0.500 |
| 262 | shapecode_2_b=0.700 |
| 263 | shapecode_2_a=0.100 |
| 264 | shapecode_2_r2=0.700 |
| 265 | shapecode_2_g2=0.500 |
| 266 | shapecode_2_b2=0.600 |
| 267 | shapecode_2_a2=0.000 |
| 268 | shapecode_2_border_r=0.500 |
| 269 | shapecode_2_border_g=0.500 |
| 270 | shapecode_2_border_b=0.500 |
| 271 | shapecode_2_border_a=0.000 |
| 272 | shape_2_per_frame1=x = .5+.3*cos(time/78); |
| 273 | shape_2_per_frame2=y = .5+.3*sin(time/78); |
| 274 | shape_2_per_frame3= |
| 275 | shape_2_per_frame4=tex_zoom = .2 / (sin(time/31)+1.1) |
| 276 | shape_2_per_frame5= |
| 277 | shape_2_per_frame6= |
| 278 | shapecode_3_enabled=1 |
| 279 | shapecode_3_sides=63 |
| 280 | shapecode_3_additive=1 |
| 281 | shapecode_3_thickOutline=0 |
| 282 | shapecode_3_textured=1 |
| 283 | shapecode_3_num_inst=1 |
| 284 | shapecode_3_x=0.760 |
| 285 | shapecode_3_y=0.750 |
| 286 | shapecode_3_rad=0.68636 |
| 287 | shapecode_3_ang=0.43982 |
| 288 | shapecode_3_tex_ang=0.50266 |
| 289 | shapecode_3_tex_zoom=0.61590 |
| 290 | shapecode_3_r=0.700 |
| 291 | shapecode_3_g=0.700 |
| 292 | shapecode_3_b=0.700 |
| 293 | shapecode_3_a=0.150 |
| 294 | shapecode_3_r2=1.000 |
| 295 | shapecode_3_g2=1.000 |
| 296 | shapecode_3_b2=1.000 |
| 297 | shapecode_3_a2=0.000 |
| 298 | shapecode_3_border_r=0.500 |
| 299 | shapecode_3_border_g=0.500 |
| 300 | shapecode_3_border_b=0.500 |
| 301 | shapecode_3_border_a=0.000 |
| 302 | shape_3_per_frame1=x = .5+.3*cos(time/59); |
| 303 | shape_3_per_frame2=y = .5+.3 *sin(time/59); |
| 304 | per_frame_1=zoom=.99; |
| 305 | per_frame_2=wave_a=0; |
| 306 | per_frame_3= |
| 307 | per_frame_4=q1 = sin(.1*time); |
| 308 | per_frame_5=q2 = sin(.2*time); |
| 309 | per_frame_6=q3 = sin(.3*time); |
| 310 | per_frame_7=q4 = sin(time); |
| 311 | per_frame_8=q5 = sin(7*time); |
| 312 | per_frame_9=q6 = sin(10*time); |
| 313 | per_frame_10=q7 = sin(8*time); |
| 314 | per_frame_11=q8 = sin(12*time); |
| 315 | warp_1=`sampler sampler_worms; |
| 316 | warp_2=`float3 color, mus; |
| 317 | warp_3=`float2 uv1,uv6; |
| 318 | warp_4=`float dx,dy; |
| 319 | warp_5=` |
| 320 | warp_6=`shader_body { |
| 321 | warp_7=`uv1 = (uv-.5) * aspect.xy; |
| 322 | warp_8=` |
| 323 | warp_9=` |
| 324 | warp_10=`float rota = lum(tex2D (sampler_noise_hq,q30*uv+.001*time))*3.14; |
| 325 | warp_11=` |
| 326 | warp_12=` |
| 327 | warp_13=`uv6 = mul(uv1,float2x2(cos(rota),-sin(rota),sin(rota),cos(rota))); |
| 328 | warp_14=` |
| 329 | warp_15=` |
| 330 | warp_16=`mus = .2/(sqrt(uv6.y)+.2); |
| 331 | warp_17=`mus = abs(mus); |
| 332 | warp_18=`mus *= float3 (1,.96,.9); |
| 333 | warp_19=` |
| 334 | warp_20=`float3 no = tex2D (sampler_noise_lq,uv)-.5; |
| 335 | warp_21=`mus *= float3 (1,.96,.9) + 0.1*no; |
| 336 | warp_22=` |
| 337 | warp_23=`color = 1; |
| 338 | warp_24=` |
| 339 | warp_25=`float3 blur = GetBlur1(frac(uv)); |
| 340 | warp_26=` |
| 341 | warp_27=`float2 hor = float2 (0.004,0); |
| 342 | warp_28=`float2 ver = float2 (0,.004); |
| 343 | warp_29=` |
| 344 | warp_30=`dx = lum(tex2D(sampler_main,uv+hor) |
| 345 | warp_31=` - tex2D(sampler_main,uv-hor)); |
| 346 | warp_32=`dy = lum(tex2D(sampler_main,uv+ver) |
| 347 | warp_33=` - tex2D(sampler_main,uv-ver)); |
| 348 | warp_34=` |
| 349 | warp_35=`float2 zz = float2 (dx,dy); |
| 350 | warp_36=` |
| 351 | warp_37=`float3 crisp= tex2D(sampler_main,uv+zz*.02); |
| 352 | warp_38=`float3 crisp2 = .5*tex2D(sampler_main,uv); |
| 353 | warp_39=`crisp += crisp2; |
| 354 | warp_40=`crisp *= .667; |
| 355 | warp_41=`crisp +=.018*color - length(zz)*blur; |
| 356 | warp_42=` |
| 357 | warp_43=`float3 ret1 = crisp - blur*.03 + .04*mus; |
| 358 | warp_44=`//ret1 -= abs(mus)/52; |
| 359 | warp_45=`ret = ret1 * .99 - .04 ; |
| 360 | warp_46=`} |
| 361 | comp_1=`float z,mask,water,rain; |
| 362 | comp_2=`float2 rs0, rs, uv0, uv1, uv2, uv3, uv4, uv5, uv_wat, uv_sky, |
| 363 | comp_3=` uv_stars, sunpos, uv_clouds; |
| 364 | comp_4=`float3 ret1, ret2, sun, sunshine; |
| 365 | comp_5=`static float trel = q10; |
| 366 | comp_6=` |
| 367 | comp_7=`shader_body { |
| 368 | comp_8=`float t = time*0.25; // set velocity here |
| 369 | comp_9=`float2 c = (uv-0.5)*aspect.wz; |
| 370 | comp_10=`float1 ang_hq = atan2(c.x,c.y); |
| 371 | comp_11=`float2 spiral = float2(ang_hq*M_INV_PI_2*2+t,aspect.w*log(length(c))*0.7+ang_hq*M_INV_PI_2*2-t*4); |
| 372 | comp_12=`float2 mirror = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 )); // mirror |
| 373 | comp_13=`uv = mirror; |
| 374 | comp_14=` |
| 375 | comp_15=`uv0 = uv; |
| 376 | comp_16=`float2x2 ang1 = float2x2 (_qb); |
| 377 | comp_17=`uv = mul((uv-.5),ang1)*.7*aspect.xy+.5+float2(q15,q16); |
| 378 | comp_18=` |
| 379 | comp_19=`float2 center = float2 (.5,q11+.6+q12*(sin(uv.x*6+trel)*cos(uv.y*8+time*.6))); |
| 380 | comp_20=`rain = tex2D (sampler_noise_lq,float2(uv.x*4,uv.y)*.2-time); |
| 381 | comp_21=`rain += tex2D (sampler_noise_lq,float2(uv.x*4,uv.y)*.5-time); |
| 382 | comp_22=`//rain *= (rain >= 1); |
| 383 | comp_23=`rain *= 1*saturate(q20/2-abs(sin(uv0.x-time/4))); |
| 384 | comp_24=` |
| 385 | comp_25=`uv1 = (uv-center+rain*.01); |
| 386 | comp_26=`mask = saturate(128*uv1.y); |
| 387 | comp_27=`z = .4/(uv1.y); |
| 388 | comp_28=`rs0.x = uv1.x * z; rs0.y = z ; |
| 389 | comp_29=`rs = float2 (rs0.x+time/4, rs0.y+time*4)*mask; |
| 390 | comp_30=`water = tex2D(sampler_noise_hq,rs) + tex2D(sampler_noise_hq,rs/4-time/8); |
| 391 | comp_31=`//water = pow(water/2,2); |
| 392 | comp_32=`water -= 1 ; |
| 393 | comp_33=`uv_sky = float2(uv.x,uv.y); |
| 394 | comp_34=`uv_wat = float2(uv1.x+.5,abs(.5-uv1.y))-.2*water/pow(z,.5); |
| 395 | comp_35=` |
| 396 | comp_36=` |
| 397 | comp_37=`ret1 = GetPixel(uv_sky+rain*.0)*(1-mask) + //Himmel |
| 398 | comp_38=`GetPixel(uv_wat)*mask/pow(z,.4)*2*(1-rand_preset.y) + //Wasser |
| 399 | comp_39=`rand_preset.y* |
| 400 | comp_40=`(1+rand_preset.x*water)*mask/z*float3(0,.1,.1); //Leuchten Wasser |
| 401 | comp_41=` |
| 402 | comp_42=`ret1 *= (1+.2*rain); |
| 403 | comp_43=`ret = 1-exp(-pow(ret1,1.5)*8); |
| 404 | comp_44=`} |